package com.qcby.llmtchstd.service;

import com.qcby.llmtchstd.entity.TeachingPlan;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeachingPlanService {
    TeachingPlan selectThis(String name);
    int deleteThis(int id);
    TeachingPlan createPlan(TeachingPlan plan);
    TeachingPlan selectById(int id);
    List<TeachingPlan> listAll();
    TeachingPlan generateWithAI(String prompt);
    int selectCount(Integer id);
    List<TeachingPlan> searchByName(@Param("name") String name,@Param("id") int id);
    List<TeachingPlan> selectPage(@Param("offset") int offset, @Param("pageSize") int pageSize,@Param("id") int id);
    Integer countSer(@Param("name") String name,@Param("id") int id);
}